<?php
session_start();

ini_set('display_errors',1);
ini_set('include_path', ini_get('include_path'));
include_once '../others/refreshSessionTime.php';

require_once '../../../serverResources/includes/db/ConnDBUser.php';
require_once '../../../serverResources/includes/classes/AReplyPreference.php';

$pref=new AReplyPreference($_POST['preference'], $_POST['replyID'], $_SESSION['userID']);
$result=$pref->storePreference();
unset($pref);

echo $result;
